﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using QuanLyDuAn.BUS;
using System.Data.SqlClient;
using QuanLyDuAn.Report;

namespace QuanLyDuAn.GUI
{
    public partial class FrmStatisticsInterview : DevComponents.DotNetBar.Office2007Form
    {
        InterviewerController controller = new InterviewerController();
        DataSet ds;
        public FrmStatisticsInterview()
        {
            InitializeComponent();
        }

        private void FrmStatisticsInterview_Load(object sender, EventArgs e)
        {
            this.dataGridViewX1.AutoSizeColumnsMode = DataGridViewAutoSizeColumnsMode.Fill;
            ds = controller.LoadInterviewer();
            //ds1 = pcontroller.LoadPermission();
            dataGridViewX1.DataSource = ds.Tables[0];
        }

        private void btnPriview_Click(object sender, EventArgs e)
        {
            FrmInterviewList frm = new FrmInterviewList();
            //frm.MdiParent = this;
            //frm.WindowState = FormWindowState.Normal;
            frm.Visible = true;
            frm.Show();

        }
    }
}
